[INFO] fetching crate wechat-mp 0.1.4...
[INFO] building wechat-mp-0.1.4 against master#a29f341a8ac4e9325a5e37027b4215f50a76d06f for pr-101929
[INFO] extracting crate wechat-mp 0.1.4 into /workspace/builds/worker-3/source
[INFO] validating manifest of crates.io crate wechat-mp 0.1.4 on toolchain a29f341a8ac4e9325a5e37027b4215f50a76d06f
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate wechat-mp 0.1.4
[INFO] finished tweaking crates.io crate wechat-mp 0.1.4
[INFO] tweaked toml for crates.io crate wechat-mp 0.1.4 written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded string-builder v0.2.0
[INFO] [stderr]   Downloaded smol v0.1.18
[INFO] [stderr]   Downloaded shaku_derive v0.5.0
[INFO] [stderr]   Downloaded blocking v0.4.7
[INFO] [stderr]   Downloaded wepoll-sys-stjepang v1.0.8
[INFO] [stderr]   Downloaded bb8 v0.4.2
[INFO] [stderr]   Downloaded redis v0.15.1
[INFO] [stderr]   Downloaded peresil v0.3.0
[INFO] [stderr]   Downloaded bb8-redis v0.5.0
[INFO] [stderr]   Downloaded sxd-xpath v0.4.2
[INFO] [stderr]   Downloaded sxd-document v0.3.2
[INFO] [stderr]   Downloaded shaku v0.5.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 10a9e91974c8e95db3d6f88f6c8437981602d082cf764363e4eb6b43010de04a
[INFO] running `Command { std: "docker" "start" "-a" "10a9e91974c8e95db3d6f88f6c8437981602d082cf764363e4eb6b43010de04a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "10a9e91974c8e95db3d6f88f6c8437981602d082cf764363e4eb6b43010de04a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "10a9e91974c8e95db3d6f88f6c8437981602d082cf764363e4eb6b43010de04a", kill_on_drop: false }`
[INFO] [stdout] 10a9e91974c8e95db3d6f88f6c8437981602d082cf764363e4eb6b43010de04a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8110a75ec4939b3806824e5cc0aeb93e185032d274e580dc9dc42603202a9426
[INFO] running `Command { std: "docker" "start" "-a" "8110a75ec4939b3806824e5cc0aeb93e185032d274e580dc9dc42603202a9426", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.43
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]    Compiling unicode-ident v1.0.4
[INFO] [stderr]    Compiling syn v1.0.99
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling libc v0.2.132
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling futures-core v0.3.24
[INFO] [stderr]    Compiling futures-sink v0.3.24
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling futures-io v0.3.24
[INFO] [stderr]    Compiling pin-project-lite v0.1.12
[INFO] [stderr]    Compiling futures-channel v0.3.24
[INFO] [stderr]    Compiling bytes v0.5.6
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.9
[INFO] [stderr]    Compiling futures-task v0.3.24
[INFO] [stderr]    Compiling futures-util v0.3.24
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling smallvec v1.9.0
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling once_cell v1.14.0
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]    Compiling pin-project-internal v0.4.30
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling unicode-bidi v0.3.8
[INFO] [stderr]    Compiling itoa v1.0.3
[INFO] [stderr]    Compiling percent-encoding v2.2.0
[INFO] [stderr]    Compiling either v1.8.0
[INFO] [stderr]    Compiling slab v0.4.7
[INFO] [stderr]    Compiling lock_api v0.4.8
[INFO] [stderr]    Compiling bytes v1.2.1
[INFO] [stderr]    Compiling net2 v0.2.37
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling socket2 v0.3.19
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]    Compiling threadpool v1.8.1
[INFO] [stderr]    Compiling serde_derive v1.0.144
[INFO] [stderr]    Compiling form_urlencoded v1.1.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling copyless v0.1.5
[INFO] [stderr]    Compiling http v0.2.8
[INFO] [stderr]    Compiling serde v1.0.144
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling pkg-config v0.3.25
[INFO] [stderr]    Compiling async-trait v0.1.57
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]    Compiling tracing-core v0.1.29
[INFO] [stderr]    Compiling backtrace v0.3.66
[INFO] [stderr]    Compiling idna v0.3.0
[INFO] [stderr]    Compiling mio v0.6.23
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling miniz_oxide v0.5.4
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling gimli v0.26.2
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]    Compiling itoa v0.4.8
[INFO] [stderr]    Compiling tracing v0.1.36
[INFO] [stderr]    Compiling mio-uds v0.6.8
[INFO] [stderr]    Compiling object v0.29.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling openssl-sys v0.9.75
[INFO] [stderr]    Compiling rustc-demangle v0.1.21
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling match_cfg v0.1.0
[INFO] [stderr]    Compiling matches v0.1.9
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling url v2.3.1
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling hostname v0.3.1
[INFO] [stderr]    Compiling brotli-sys v0.3.2
[INFO] [stderr]    Compiling aho-corasick v0.7.19
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling addr2line v0.17.0
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling regex-syntax v0.6.27
[INFO] [stderr]    Compiling linked-hash-map v0.5.6
[INFO] [stderr]    Compiling serde_json v1.0.85
[INFO] [stderr]    Compiling sha1_smol v1.0.0
[INFO] [stderr]    Compiling encoding_rs v0.8.31
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]    Compiling ryu v1.0.11
[INFO] [stderr]    Compiling openssl v0.10.41
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling dtoa v0.4.8
[INFO] [stderr]    Compiling sha1 v0.6.1
[INFO] [stderr]    Compiling lru-cache v0.1.2
[INFO] [stderr]    Compiling resolv-conf v0.6.3
[INFO] [stderr]    Compiling mime v0.3.16
[INFO] [stderr]    Compiling native-tls v0.2.10
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling try-lock v0.2.3
[INFO] [stderr]    Compiling iana-time-zone v0.1.48
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling cache-padded v1.2.0
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling mime_guess v2.0.4
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling regex v1.6.0
[INFO] [stderr]    Compiling flate2 v1.0.24
[INFO] [stderr]    Compiling chrono v0.4.22
[INFO] [stderr]    Compiling concurrent-queue v1.2.4
[INFO] [stderr]    Compiling unreachable v1.0.0
[INFO] [stderr]    Compiling fxhash v0.2.1
[INFO] [stderr]    Compiling http-body v0.3.1
[INFO] [stderr]    Compiling parking v2.0.0
[INFO] [stderr]    Compiling base64 v0.11.0
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling httpdate v0.3.2
[INFO] [stderr]    Compiling ascii v0.9.3
[INFO] [stderr]    Compiling language-tags v0.2.2
[INFO] [stderr]    Compiling fastrand v1.8.0
[INFO] [stderr]    Compiling waker-fn v1.1.0
[INFO] [stderr]    Compiling async-channel v1.7.1
[INFO] [stderr]    Compiling bytestring v1.1.0
[INFO] [stderr]    Compiling atomic-waker v1.0.0
[INFO] [stderr]    Compiling parking v1.0.6
[INFO] [stderr]    Compiling futures-lite v0.1.11
[INFO] [stderr]    Compiling anyhow v1.0.65
[INFO] [stderr]    Compiling combine v3.8.1
[INFO] [stderr]    Compiling typed-arena v1.7.0
[INFO] [stderr]    Compiling thiserror v1.0.35
[INFO] [stderr]    Compiling peresil v0.3.0
[INFO] [stderr]    Compiling sxd-document v0.3.2
[INFO] [stderr]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling termcolor v1.1.3
[INFO] [stderr]    Compiling scoped-tls v1.0.0
[INFO] [stderr]    Compiling blocking v0.4.7
[INFO] [stderr]    Compiling anymap v0.12.1
[INFO] [stderr]    Compiling ipnet v2.5.0
[INFO] [stderr]    Compiling async-task v3.0.0
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling async-mutex v1.4.0
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling string-builder v0.2.0
[INFO] [stderr]    Compiling maplit v1.0.2
[INFO] [stderr]    Compiling base64 v0.12.3
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]    Compiling sxd-xpath v0.4.2
[INFO] [stderr]    Compiling tokio-macros v0.2.6
[INFO] [stderr]    Compiling futures-macro v0.3.24
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling actix-macros v0.1.3
[INFO] [stderr]    Compiling pin-project-internal v1.0.12
[INFO] [stderr]    Compiling enum-as-inner v0.3.4
[INFO] [stderr]    Compiling openssl-macros v0.1.0
[INFO] [stderr]    Compiling shaku_derive v0.5.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.35
[INFO] [stderr]    Compiling actix-web-codegen v0.2.2
[INFO] [stderr]    Compiling serde_repr v0.1.9
[INFO] [stderr]    Compiling tokio v0.2.25
[INFO] [stderr]    Compiling failure v0.1.8
[INFO] [stderr]    Compiling shaku v0.5.0
[INFO] [stderr]    Compiling pin-project v1.0.12
[INFO] [stderr]    Compiling tracing-futures v0.2.5
[INFO] [stderr]    Compiling pin-project v0.4.30
[INFO] [stderr]    Compiling actix-threadpool v0.3.3
[INFO] [stderr]    Compiling tokio-util v0.3.1
[INFO] [stderr]    Compiling tokio-util v0.2.0
[INFO] [stderr]    Compiling tokio-tls v0.3.1
[INFO] [stderr]    Compiling futures-executor v0.3.24
[INFO] [stderr]    Compiling actix-service v1.0.6
[INFO] [stderr]    Compiling smol v0.1.18
[INFO] [stderr]    Compiling brotli2 v0.3.2
[INFO] [stderr]    Compiling futures v0.3.24
[INFO] [stderr]    Compiling actix-rt v1.1.1
[INFO] [stderr]    Compiling trust-dns-proto v0.18.0-alpha.2
[INFO] [stderr]    Compiling bb8 v0.4.2
[INFO] [stderr]    Compiling serde_urlencoded v0.6.1
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling actix-router v0.2.7
[INFO] [stderr]    Compiling actix-codec v0.2.0
[INFO] [stderr]    Compiling h2 v0.2.7
[INFO] [stderr]    Compiling actix-codec v0.3.0
[INFO] [stderr]    Compiling redis v0.15.1
[INFO] [stderr]    Compiling actix-utils v1.0.6
[INFO] [stderr]    Compiling actix-utils v2.0.0
[INFO] [stderr]    Compiling actix-tls v1.0.0
[INFO] [stderr]    Compiling actix-server v1.0.4
[INFO] [stderr]    Compiling actix-testing v1.0.1
[INFO] [stderr]    Compiling trust-dns-resolver v0.18.0-alpha.2
[INFO] [stderr]    Compiling actix-connect v1.0.2
[INFO] [stderr]    Compiling bb8-redis v0.5.0
[INFO] [stderr]    Compiling actix-http v1.0.1
[INFO] [stderr]    Compiling hyper v0.13.10
[INFO] [stderr]    Compiling awc v1.0.1
[INFO] [stderr]    Compiling actix-web v2.0.0
[INFO] [stderr]    Compiling hyper-tls v0.4.3
[INFO] [stderr]    Compiling reqwest v0.10.10
[INFO] [stderr]    Compiling wechat-mp v0.1.4 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `maplit::hashmap`
[INFO] [stdout]  --> src/menu.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use maplit::hashmap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_repr::*`
[INFO] [stdout]   --> src/menu.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use serde_repr::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `EmptyApiResult`
[INFO] [stdout]    --> src/oauth.rs:209:32
[INFO] [stdout]     |
[INFO] [stdout] 209 |         use crate::req_utils::{EmptyApiResult, ToApiResult};
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/wechat.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AsyncCommands`
[INFO] [stdout]    --> src/core/token_provider.rs:163:22
[INFO] [stdout]     |
[INFO] [stdout] 163 |         redis::{cmd, AsyncCommands},
[INFO] [stdout]     |                      ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]    --> src/oauth.rs:187:9
[INFO] [stdout]     |
[INFO] [stdout] 187 |         context: &SaasContext,
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]    --> src/oauth.rs:205:9
[INFO] [stdout]     |
[INFO] [stdout] 205 |         context: &SaasContext,
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_custom_menu_json` is never used
[INFO] [stdout]    --> src/menu.rs:720:8
[INFO] [stdout]     |
[INFO] [stdout] 720 |     fn get_custom_menu_json() -> &'static str {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_custom_menu` is never used
[INFO] [stdout]    --> src/menu.rs:737:8
[INFO] [stdout]     |
[INFO] [stdout] 737 |     fn get_custom_menu() -> CustomMenu {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 9 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 54.97s
[INFO] running `Command { std: "docker" "inspect" "8110a75ec4939b3806824e5cc0aeb93e185032d274e580dc9dc42603202a9426", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8110a75ec4939b3806824e5cc0aeb93e185032d274e580dc9dc42603202a9426", kill_on_drop: false }`
[INFO] [stdout] 8110a75ec4939b3806824e5cc0aeb93e185032d274e580dc9dc42603202a9426
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3cd49c91bc35e2db13895423521a8e4cff0c8286f54f408e4049bf6beefe8aa3
[INFO] running `Command { std: "docker" "start" "-a" "3cd49c91bc35e2db13895423521a8e4cff0c8286f54f408e4049bf6beefe8aa3", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `maplit::hashmap`
[INFO] [stdout]  --> src/menu.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use maplit::hashmap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_repr::*`
[INFO] [stdout]   --> src/menu.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use serde_repr::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `EmptyApiResult`
[INFO] [stdout]    --> src/oauth.rs:209:32
[INFO] [stdout]     |
[INFO] [stdout] 209 |         use crate::req_utils::{EmptyApiResult, ToApiResult};
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/wechat.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AsyncCommands`
[INFO] [stdout]    --> src/core/token_provider.rs:163:22
[INFO] [stdout]     |
[INFO] [stdout] 163 |         redis::{cmd, AsyncCommands},
[INFO] [stdout]     |                      ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]    --> src/oauth.rs:187:9
[INFO] [stdout]     |
[INFO] [stdout] 187 |         context: &SaasContext,
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]    --> src/oauth.rs:205:9
[INFO] [stdout]     |
[INFO] [stdout] 205 |         context: &SaasContext,
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_custom_menu_json` is never used
[INFO] [stdout]    --> src/menu.rs:720:8
[INFO] [stdout]     |
[INFO] [stdout] 720 |     fn get_custom_menu_json() -> &'static str {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_custom_menu` is never used
[INFO] [stdout]    --> src/menu.rs:737:8
[INFO] [stdout]     |
[INFO] [stdout] 737 |     fn get_custom_menu() -> CustomMenu {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling wechat-mp v0.1.4 (/opt/rustwide/workdir)
[INFO] [stdout] warning: 9 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `maplit::hashmap`
[INFO] [stdout]  --> src/menu.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use maplit::hashmap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_repr::*`
[INFO] [stdout]   --> src/menu.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use serde_repr::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]     --> src/message.rs:1886:9
[INFO] [stdout]      |
[INFO] [stdout] 1886 |     use super::*;
[INFO] [stdout]      |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `EmptyApiResult`
[INFO] [stdout]    --> src/oauth.rs:209:32
[INFO] [stdout]     |
[INFO] [stdout] 209 |         use crate::req_utils::{EmptyApiResult, ToApiResult};
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/wechat.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 5 arguments but 4 arguments were supplied
[INFO] [stdout]     --> src/message.rs:1913:22
[INFO] [stdout]      |
[INFO] [stdout] 1913 |           let config = WechatConfig::new(
[INFO] [stdout]      |  ______________________^^^^^^^^^^^^^^^^^-
[INFO] [stdout] 1914 | |             WechatConfig::decode_aes_key(&"kWxPEV2UEDyxWpmPdKC3F4dgPDmOvfKX1HGnEUDS1aQ=".into())
[INFO] [stdout] 1915 | |                 .unwrap(),
[INFO] [stdout] 1916 | |             "test".into(),
[INFO] [stdout] 1917 | |             "".into(),
[INFO] [stdout] 1918 | |             "".into(),
[INFO] [stdout] 1919 | |         );
[INFO] [stdout]      | |_________- an argument of type `std::string::String` is missing
[INFO] [stdout]      |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]     --> src/core/config.rs:58:12
[INFO] [stdout]      |
[INFO] [stdout] 58   |     pub fn new(
[INFO] [stdout]      |            ^^^
[INFO] [stdout] 59   |         key: Option<Vec<u8>>,
[INFO] [stdout]      |         --------------------
[INFO] [stdout] 60   |         app_id: String,
[INFO] [stdout]      |         --------------
[INFO] [stdout] 61   |         app_secret: String,
[INFO] [stdout]      |         ------------------
[INFO] [stdout] 62   |         echo_token: String,
[INFO] [stdout]      |         ------------------
[INFO] [stdout] 63   |         oauth_redirect_url: String,
[INFO] [stdout]      |         --------------------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]      |
[INFO] [stdout] 1913 ~         let config = WechatConfig::new(WechatConfig::decode_aes_key(&"kWxPEV2UEDyxWpmPdKC3F4dgPDmOvfKX1HGnEUDS1aQ=".into())
[INFO] [stdout] 1914 ~                 .unwrap(), "test".into(), "".into(), "".into(), /* std::string::String */);
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 5 arguments but 4 arguments were supplied
[INFO] [stdout]     --> src/message.rs:1931:22
[INFO] [stdout]      |
[INFO] [stdout] 1931 |           let config = WechatConfig::new(
[INFO] [stdout]      |  ______________________^^^^^^^^^^^^^^^^^-
[INFO] [stdout] 1932 | |             WechatConfig::decode_aes_key(&"kWxPEV2UEDyxWpmPdKC3F4dgPDmOvfKX1HGnEUDS1aQ=".into())
[INFO] [stdout] 1933 | |                 .unwrap(),
[INFO] [stdout] 1934 | |             "wx49f0ab532d5d035a".into(),
[INFO] [stdout] 1935 | |             "".into(),
[INFO] [stdout] 1936 | |             "123456".into(),
[INFO] [stdout] 1937 | |         );
[INFO] [stdout]      | |_________- an argument of type `std::string::String` is missing
[INFO] [stdout]      |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]     --> src/core/config.rs:58:12
[INFO] [stdout]      |
[INFO] [stdout] 58   |     pub fn new(
[INFO] [stdout]      |            ^^^
[INFO] [stdout] 59   |         key: Option<Vec<u8>>,
[INFO] [stdout]      |         --------------------
[INFO] [stdout] 60   |         app_id: String,
[INFO] [stdout]      |         --------------
[INFO] [stdout] 61   |         app_secret: String,
[INFO] [stdout]      |         ------------------
[INFO] [stdout] 62   |         echo_token: String,
[INFO] [stdout]      |         ------------------
[INFO] [stdout] 63   |         oauth_redirect_url: String,
[INFO] [stdout]      |         --------------------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]      |
[INFO] [stdout] 1931 ~         let config = WechatConfig::new(WechatConfig::decode_aes_key(&"kWxPEV2UEDyxWpmPdKC3F4dgPDmOvfKX1HGnEUDS1aQ=".into())
[INFO] [stdout] 1932 ~                 .unwrap(), "wx49f0ab532d5d035a".into(), "".into(), "123456".into(), /* std::string::String */);
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 5 arguments but 4 arguments were supplied
[INFO] [stdout]     --> src/message.rs:1964:22
[INFO] [stdout]      |
[INFO] [stdout] 1964 |           let config = WechatConfig::new(
[INFO] [stdout]      |  ______________________^^^^^^^^^^^^^^^^^-
[INFO] [stdout] 1965 | |             WechatConfig::decode_aes_key(&"kWxPEV2UEDyxWpmPdKC3F4dgPDmOvfKX1HGnEUDS1aQ=".into())
[INFO] [stdout] 1966 | |                 .unwrap(),
[INFO] [stdout] 1967 | |             "wx49f0ab532d5d035a".into(),
[INFO] [stdout] 1968 | |             "".into(),
[INFO] [stdout] 1969 | |             "123456".into(),
[INFO] [stdout] 1970 | |         );
[INFO] [stdout]      | |_________- an argument of type `std::string::String` is missing
[INFO] [stdout]      |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]     --> src/core/config.rs:58:12
[INFO] [stdout]      |
[INFO] [stdout] 58   |     pub fn new(
[INFO] [stdout]      |            ^^^
[INFO] [stdout] 59   |         key: Option<Vec<u8>>,
[INFO] [stdout]      |         --------------------
[INFO] [stdout] 60   |         app_id: String,
[INFO] [stdout]      |         --------------
[INFO] [stdout] 61   |         app_secret: String,
[INFO] [stdout]      |         ------------------
[INFO] [stdout] 62   |         echo_token: String,
[INFO] [stdout]      |         ------------------
[INFO] [stdout] 63   |         oauth_redirect_url: String,
[INFO] [stdout]      |         --------------------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]      |
[INFO] [stdout] 1964 ~         let config = WechatConfig::new(WechatConfig::decode_aes_key(&"kWxPEV2UEDyxWpmPdKC3F4dgPDmOvfKX1HGnEUDS1aQ=".into())
[INFO] [stdout] 1965 ~                 .unwrap(), "wx49f0ab532d5d035a".into(), "".into(), "123456".into(), /* std::string::String */);
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 5 arguments but 4 arguments were supplied
[INFO] [stdout]     --> src/message.rs:1995:22
[INFO] [stdout]      |
[INFO] [stdout] 1995 |           let config = WechatConfig::new(
[INFO] [stdout]      |  ______________________^^^^^^^^^^^^^^^^^-
[INFO] [stdout] 1996 | |             WechatConfig::decode_aes_key(&"kWxPEV2UEDyxWpmPdKC3F4dgPDmOvfKX1HGnEUDS1aQ=".into())
[INFO] [stdout] 1997 | |                 .unwrap(),
[INFO] [stdout] 1998 | |             "wx49f0ab532d5d035a".into(),
[INFO] [stdout] 1999 | |             "".into(),
[INFO] [stdout] 2000 | |             "".into(),
[INFO] [stdout] 2001 | |         );
[INFO] [stdout]      | |_________- an argument of type `std::string::String` is missing
[INFO] [stdout]      |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]     --> src/core/config.rs:58:12
[INFO] [stdout]      |
[INFO] [stdout] 58   |     pub fn new(
[INFO] [stdout]      |            ^^^
[INFO] [stdout] 59   |         key: Option<Vec<u8>>,
[INFO] [stdout]      |         --------------------
[INFO] [stdout] 60   |         app_id: String,
[INFO] [stdout]      |         --------------
[INFO] [stdout] 61   |         app_secret: String,
[INFO] [stdout]      |         ------------------
[INFO] [stdout] 62   |         echo_token: String,
[INFO] [stdout]      |         ------------------
[INFO] [stdout] 63   |         oauth_redirect_url: String,
[INFO] [stdout]      |         --------------------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]      |
[INFO] [stdout] 1995 ~         let config = WechatConfig::new(WechatConfig::decode_aes_key(&"kWxPEV2UEDyxWpmPdKC3F4dgPDmOvfKX1HGnEUDS1aQ=".into())
[INFO] [stdout] 1996 ~                 .unwrap(), "wx49f0ab532d5d035a".into(), "".into(), "".into(), /* std::string::String */);
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 5 arguments but 4 arguments were supplied
[INFO] [stdout]     --> src/message.rs:2024:22
[INFO] [stdout]      |
[INFO] [stdout] 2024 |           let config = WechatConfig::new(
[INFO] [stdout]      |  ______________________^^^^^^^^^^^^^^^^^-
[INFO] [stdout] 2025 | |             WechatConfig::decode_aes_key(&"kWxPEV2UEDyxWpmPdKC3F4dgPDmOvfKX1HGnEUDS1aQ=".into())
[INFO] [stdout] 2026 | |                 .unwrap(),
[INFO] [stdout] 2027 | |             "wx49f0ab532d5d035a".into(),
[INFO] [stdout] 2028 | |             "".into(),
[INFO] [stdout] 2029 | |             "123456".into(),
[INFO] [stdout] 2030 | |         );
[INFO] [stdout]      | |_________- an argument of type `std::string::String` is missing
[INFO] [stdout]      |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]     --> src/core/config.rs:58:12
[INFO] [stdout]      |
[INFO] [stdout] 58   |     pub fn new(
[INFO] [stdout]      |            ^^^
[INFO] [stdout] 59   |         key: Option<Vec<u8>>,
[INFO] [stdout]      |         --------------------
[INFO] [stdout] 60   |         app_id: String,
[INFO] [stdout]      |         --------------
[INFO] [stdout] 61   |         app_secret: String,
[INFO] [stdout]      |         ------------------
[INFO] [stdout] 62   |         echo_token: String,
[INFO] [stdout]      |         ------------------
[INFO] [stdout] 63   |         oauth_redirect_url: String,
[INFO] [stdout]      |         --------------------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]      |
[INFO] [stdout] 2024 ~         let config = WechatConfig::new(WechatConfig::decode_aes_key(&"kWxPEV2UEDyxWpmPdKC3F4dgPDmOvfKX1HGnEUDS1aQ=".into())
[INFO] [stdout] 2025 ~                 .unwrap(), "wx49f0ab532d5d035a".into(), "".into(), "123456".into(), /* std::string::String */);
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 5 arguments but 4 arguments were supplied
[INFO] [stdout]     --> src/message.rs:2066:22
[INFO] [stdout]      |
[INFO] [stdout] 2066 |           let config = WechatConfig::new(
[INFO] [stdout]      |  ______________________^^^^^^^^^^^^^^^^^-
[INFO] [stdout] 2067 | |             WechatConfig::decode_aes_key(&"znpfGFxELvUSxh0Gx4rJenvVQRrAhdTsioG08XR4z3S=".into())
[INFO] [stdout] 2068 | |                 .unwrap(),
[INFO] [stdout] 2069 | |             "wx11853b05910e1b6b".into(),
[INFO] [stdout] 2070 | |             "".into(),
[INFO] [stdout] 2071 | |             "testtoken123456".into(),
[INFO] [stdout] 2072 | |         );
[INFO] [stdout]      | |_________- an argument of type `std::string::String` is missing
[INFO] [stdout]      |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]     --> src/core/config.rs:58:12
[INFO] [stdout]      |
[INFO] [stdout] 58   |     pub fn new(
[INFO] [stdout]      |            ^^^
[INFO] [stdout] 59   |         key: Option<Vec<u8>>,
[INFO] [stdout]      |         --------------------
[INFO] [stdout] 60   |         app_id: String,
[INFO] [stdout]      |         --------------
[INFO] [stdout] 61   |         app_secret: String,
[INFO] [stdout]      |         ------------------
[INFO] [stdout] 62   |         echo_token: String,
[INFO] [stdout]      |         ------------------
[INFO] [stdout] 63   |         oauth_redirect_url: String,
[INFO] [stdout]      |         --------------------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]      |
[INFO] [stdout] 2066 ~         let config = WechatConfig::new(WechatConfig::decode_aes_key(&"znpfGFxELvUSxh0Gx4rJenvVQRrAhdTsioG08XR4z3S=".into())
[INFO] [stdout] 2067 ~                 .unwrap(), "wx11853b05910e1b6b".into(), "".into(), "testtoken123456".into(), /* std::string::String */);
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AsyncCommands`
[INFO] [stdout]    --> src/core/token_provider.rs:163:22
[INFO] [stdout]     |
[INFO] [stdout] 163 |         redis::{cmd, AsyncCommands},
[INFO] [stdout]     |                      ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors; 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `wechat-mp` due to 7 previous errors; 6 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "3cd49c91bc35e2db13895423521a8e4cff0c8286f54f408e4049bf6beefe8aa3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3cd49c91bc35e2db13895423521a8e4cff0c8286f54f408e4049bf6beefe8aa3", kill_on_drop: false }`
[INFO] [stdout] 3cd49c91bc35e2db13895423521a8e4cff0c8286f54f408e4049bf6beefe8aa3
